import java.util.ArrayList;
import java.util.List;

/**
 * @Description:
 * @ClassName: MemeryTest
 * @CreateDate: 2020-04-25 22:19
 * @author: wupengwei
 */
public class MemeryTest {

    public static void main(String[] args) throws InterruptedException {
        List<String> list = new ArrayList<>();
        int i = 0;
        while (true) {
            //Thread.sleep(50);
            list.add((i++) + "");
        }
    }
}